Skip to content

Retrieve columns of predictive scoring model

Request

Retrieve the columns of the specified predictive scoring model.

Path
idinteger, (int64)required

Predictive Segment ID

Query
limitinteger, (int64), >= 1

limit of columns

curl -i -X GET \
  'https://api-cdp.treasuredata.com/entities/predictive_segments/{id}/model/columns?limit=1'

Responses

Succeeded to fetch the columns

Bodyapplication/vnd.treasuredata.v1+json
dataobject
Response
{ "data": { "id": "string", "type": "predictive-segment-model", "attributes": { … } } }